﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;

namespace Agile.DataAccess
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IParameterValue<T>
    {
        /// <summary>
        /// 
        /// </summary>
        /// <typeparam name="TParameterType"></typeparam>
        /// <param name="outputParameterName"></param>
        /// <returns></returns>
        TParameterType ParameterValue<TParameterType>(string outputParameterName);

        /// <summary>
        /// 
        /// </summary>
        /// <typeparam name="TParameterType"></typeparam>
        /// <param name="expression"></param>
        /// <returns></returns>
        TParameterType ParameterValue<TParameterType>(Expression<Func<T, object>> expression);
    }
}
